// 每个路由都需要映射到一个组件。
// 我们后面再讨论嵌套路由。
const routes = [
    { path: "/", name: "Index", redirect: "/home" },
    { path: "/home", name: "Home", component: () => import("@/pages/home/index.vue") },
    { path: "/imageGallery", name: "ImageGallery", component: () => import("@/pages/imageGallery/index.vue") }
]
export default routes;